home *** CD-ROM | disk | FTP | other *** search
/ Light ROM 1 / LIGHT-ROM 1 (Amiga Library Services)(1994).iso / ffdisks / d900.lha / Popper / InstallLib < prev    next >
Text File  |  2003-08-01  |  916b  |  56 lines

  1. .k ""
  2. FailAt 20
  3.  
  4. set bcol0 "*E[40m"
  5. set bcol2 "*E[42m"
  6. set bold  "*E[1m"
  7. set nbold "*E[22m"
  8.  
  9. set libname "popper.library"
  10. set libver  "1.1"
  11.  
  12. set libnamet "$bold$libname$nbold"
  13. set libvert "$bold($libver)$nbold"
  14.  
  15. Echo "*n     $bcol2 $libnamet Installation Script $bcol0*n"
  16.  
  17. If EXISTS LIBS:$libname
  18.     Version >NIL: LIBS:$libname
  19.     Echo "The following version of $libnamet is currently in LIBS:" 
  20.     Version LIBS:$libname
  21.     Echo " "
  22. Else
  23.     Echo "*nNo existing $libnamet in LIBS:*n"
  24. EndIf
  25.  
  26. Ask "Install $libnamet version: $libvert ?"
  27. If NOT WARN
  28.    Skip Aborted
  29. EndIf
  30.  
  31. Copy libs/$libname LIBS:$libname
  32. Echo "*n$libnamet $libvert copied to your LIBS: directory."
  33.  
  34. Echo "*nInstallation complete.*n"
  35. Skip END
  36.  
  37. Lab ABORTED
  38.  
  39. Echo "*nInstallation aborted!*n"
  40.  
  41. Lab END
  42.  
  43. unset libname
  44. unset libver
  45. unset libnamet
  46. unset libvert
  47. unset bcol0
  48. unset bcol2
  49.  
  50. Echo "*n*E[3mClick the close gadget to continue! *E[23m*n"
  51.  
  52. Wait 2
  53. EndCLI >NIL:
  54.  
  55.  
  56.